#pragma once
#include<iostream>
#include<vector>
#include "person.h"
#include"computerRoom.h"
#include<fstream>
#include"globalFile.h"
#include"reservation.h"
using namespace std;

class Student :public Person {
public:
	//default struct
	Student();
	//struct with parameter
	Student(int id, string Uname, string pwd);
	virtual void operMenu();
	//subscription reservation
	void subReservation();
	//View reservation
	void viewReservation();
	//View all reservation
	void ViewAllReservation();
	//cancel reservation
	void CancelReservation();

	int m_SID;
	vector<ComputerRoom> m_vComputerRoom;
};